/**
 * common api
 */
const login = {
    login: '/ttxs/common/login',
    register: '',
    logout: '/ttxs/common/logout',
}
const menu = {
    getMenus: '/ttxs/common/menu/user',
    refresh: '/ttxs/common/menu/refresh',
    add: '/ttxs/common/menu',
    del: '/ttxs/common/menu',
    update: '/ttxs/common/menu',
    list: '/ttxs/common/menu',
    get: '/ttxs/common/menu',
    listAll: '/ttxs/common/menu/list/all',
}
const token = {
    refresh: '/ttxs/common/token/refresh'
}

const person = {
    changePassword: '/ttxs/common/person/changePassword'
}
const user = '/ttxs/common/user'
const role = '/ttxs/common/role'
const dept = '/ttxs/common/dept'
const auth = '/ttxs/common/auth'
const platform = '/ttxs/common/platform'

export default  {
    login,
    menu,
    token,
    user,
    role,
    dept,
    auth,
    platform,
    person
}
